package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.Date;

import com.mbc.common.param.CriteriaRMParams;

@SuppressWarnings("serial")
public class OpeningAgent extends CriteriaRMParams implements Serializable {
	private long invoice_Id;
	private String invoice_Code;
	private Date openingagentDate;
	private long agent_Id;
	private String agent_Code;
	private String agent_name;
	private long currency_Id;
	private String currency_Code;
	private long currency_rate_Id;
	private String currency_rate_Code;
	private double rate;
	private double amount;
	private long branchId;
	private long userId;
	private String Diff_AgentStatus;
	private long C_agentId;
	private AgentBalance l_AgentBalance;
	private double C_amt;
	private long C_currencyId;
	
	public long getInvoice_Id() {
		return invoice_Id;
	}

	public void setInvoice_Id(long invoice_Id) {
		this.invoice_Id = invoice_Id;
	}

	public String getInvoice_Code() {
		return invoice_Code;
	}

	public void setInvoice_Code(String invoice_Code) {
		this.invoice_Code = invoice_Code;
	}

	public String getAgent_name() {
		return agent_name;
	}

	public void setAgent_name(String agent_name) {
		this.agent_name = agent_name;
	}

	public long getAgent_Id() {
		return agent_Id;
	}

	public void setAgent_Id(long agent_Id) {
		this.agent_Id = agent_Id;
	}

	public String getAgent_Code() {
		return agent_Code;
	}

	public void setAgent_Code(String agent_Code) {
		this.agent_Code = agent_Code;
	}

	public long getCurrency_Id() {
		return currency_Id;
	}

	public void setCurrency_Id(long currency_Id) {
		this.currency_Id = currency_Id;
	}

	public String getCurrency_Code() {
		return currency_Code;
	}

	public void setCurrency_Code(String currency_Code) {
		this.currency_Code = currency_Code;
	}

	public long getCurrency_rate_Id() {
		return currency_rate_Id;
	}

	public void setCurrency_rate_Id(long currency_rate_Id) {
		this.currency_rate_Id = currency_rate_Id;
	}

	public String getCurrency_rate_Code() {
		return currency_rate_Code;
	}

	public void setCurrency_rate_Code(String currency_rate_Code) {
		this.currency_rate_Code = currency_rate_Code;
	}

	public double getRate() {
		return rate;
	}

	public void setRate(double rate) {
		this.rate = rate;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public long getBranchId() {
		return branchId;
	}

	public void setBranchId(long branchId) {
		this.branchId = branchId;
	}

	public OpeningAgent() {
		clearProperties();
	}

	public void clearProperties() {
		invoice_Id = 0;
		invoice_Code = "";
		openingagentDate = new Date();
		agent_Id = 0;
		agent_Code = "";
		agent_name = "";
		currency_Id = 0;
		currency_Code = "";
		currency_rate_Id = 0;
		currency_rate_Code = "";
		rate = 0;
		amount = 0;
		branchId = 0;
		userId = 0;
		Diff_AgentStatus = "";
		C_agentId = 0;
		l_AgentBalance = null;
		C_amt = 0;
		C_currencyId = 0;
	}

	public Date getOpeningagentDate() {
		return openingagentDate;
	}

	public void setOpeningagentDate(Date openingagentDate) {
		this.openingagentDate = openingagentDate;
	}

	public String getDiff_AgentStatus() {
		return Diff_AgentStatus;
	}

	public void setDiff_AgentStatus(String diff_AgentStatus) {
		Diff_AgentStatus = diff_AgentStatus;
	}

	public long getC_agentId() {
		return C_agentId;
	}

	public void setC_agentId(long c_agentId) {
		C_agentId = c_agentId;
	}

	public AgentBalance getL_AgentBalance() {
		return l_AgentBalance;
	}

	public void setL_AgentBalance(AgentBalance l_AgentBalance) {
		this.l_AgentBalance = l_AgentBalance;
	}

	public double getC_amt() {
		return C_amt;
	}

	public void setC_amt(double c_amt) {
		C_amt = c_amt;
	}

	public long getC_currencyId() {
		return C_currencyId;
	}

	public void setC_currencyId(long c_currencyId) {
		C_currencyId = c_currencyId;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}


}
